import style from './Artical.module.css'

interface Artical{
    title?:string,
    subTitle?:string,
    children?:string
}

export default function Aritical(props:Artical){

    return(
        <>
            <div className={style.container}>
                <h1 className={style.title}>{props.title}</h1>
                <h3 className={style.subTitle}>{props.subTitle}</h3>
                <article className={style.content}>{props.children}</article>
            </div>
        </>
    )
}